            
			.navbar1 .nav ul {
				/* 相对定位 */
				position: relative;
				/* 弹性布局 */
				display: flex;
				/* 让子元素平均分配宽度 */
				justify-content: space-around;
				width: 100%;
				height: 100%;
				padding-left: 0;
			}
			.navbar1 .nav ul > li {
				width: 100%;
				height: 100%;
				list-style: none;
			}
			
			.navbar1 .nav ul > li ol {
				width: 100%;
				background-color: #fff;
				box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
				/* 让盒子先沿着y轴缩放到0 也就是隐藏了 */
				transform: scaleY(0);
				/* 我们需要将盒子从上面滑动下来 设置一下缩放的中心点即可 设置到最上面的中间位置 */
				transform-origin: 50% 0;
				/* 设置过渡 */
				transition: all 0.6s;
				padding-left: 0;
				position: relative;
				z-index: 999;
			}
			.navbar1 .nav ul > li ol li {
				height: 50;
				border-bottom: 1px solid rgb(245, 245, 245);
				list-style: none;
			}
			.navbar1 .nav ul > li ol li a {
				display: block;
				width: 100%;
				height: 100%;
				line-height: 50px;
				text-align: center;
				color: #333;
			}
			.navbar1 .nav ul > li ol li:hover {
				background-color: rgba(0, 0, 0, 0.03);
			}
			.navbar1 .nav ul > li:hover ol {
				transform: scaleY(1);
			}
			.navbar1 .nav ul .underline {
				/* 绝对定位 */
				position: absolute;
				bottom: 0;
				left: 0;
				width: 240px;
				height: 6px;
				/* 设置一下盒子的左上角和右上角的圆角 */
				border-top-left-radius: 6px;
				border-top-right-radius: 6px;
				background-color: #cc3333;
				/* 加过渡 */
				transition: all 0.5s;
				pointer-events: none;
			}
			.navbar1 .nav ul .underline::before {
				content: "";
				/* 利用::before伪元素设置三角 */
				position: absolute;
				top: -10px;
				/* calc方法自动计算数值 让盒子居中 */
				left: calc(50% - 9px);
				width: 18px;
				height: 10px;
				/* inherit可以继承父元素的属性值 */
				background-color: inherit;
				/* 这个属性可以绘制图案 polygon这个属性只需要提供最少三个点 就可以将三个点连接到一起 然后绘制一个图案  两个点的坐标位置(x,y) 0 100% 这个点就是说在x轴上为0px 在y轴是100% 就是盒子的高度 x轴的方向是向右 y轴的方向是向下 那么我们设置了三个点 然后将三个点连起来刚好绘制出一个三角形*/
				clip-path: polygon(0 100%, 50% 0, 100% 100%);
			}
			.navbar1 .nav ul > li:nth-child(2):hover ~ .underline {
				left: 240px;
				background-color: #ff9933;
			}
			/* 重复以上操作 */
			.navbar1 .nav ul > li:nth-child(3):hover ~ .underline {
				left: 480px;
				background-color: #339933;
			}
			.navbar1 .nav ul > li:nth-child(4):hover ~ .underline {
				left: 720px;
				background-color: #0099cc;
			}
			.navbar1 .nav ul > li:nth-child(5):hover ~ .underline {
				left: 960px;
				background-color: #9966cc;
			}
			
			
			
			
		.navbar-default{
		    padding: 10px 0;;
		}	
		
		
		
		
		
		
		@media only screen and (min-width: 280px) and (max-width: 1000px) {
            .navbar1 {
				width: 90px;
				height: 50px;
				background-color: transparent;
				float: left;
				/* 盒子阴影 */
				/*box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);*/
			}
			.navbar1 .nav {
				width: 90px;
				height: 100%;
				/* 让元素自动水平居中 */
				margin: 0 auto;
			}
			.navbar1 .nav ul > li > a {
				/* 因为a元素是行内元素 必须将其转为行内块或者块级才能设置宽度和高度 */
				display: block;
				width: 100%;
				height: 100%;
				line-height: 50px;
				text-align: center;
				color: #fff;
    			font-size: 18px;
			}
			.addicon{
			    width: 24px;float: left;margin: 12px 0;
			}
			.logoicon{
			    width: 170px;   
			}
		}
		@media only screen and (min-width: 1000px) and (max-width: 3000px) {
		    .navbar1 {
				width: 120px;
				height: 70px;
				background-color: transparent;
				float: left;
				/* 盒子阴影 */
				/*box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);*/
			}
			.navbar1 .nav {
				width: 120px;
				height: 100%;
				/* 让元素自动水平居中 */
				margin: 0 auto;
			}
			.navbar1 .nav ul > li > a {
				/* 因为a元素是行内元素 必须将其转为行内块或者块级才能设置宽度和高度 */
				display: block;
				width: 100%;
				height: 100%;
				line-height: 70px;
				text-align: center;
				color: #fff;
    			font-size: 18px;
			}
			.addicon{
			    width: 24px;float: left;margin: 22px 0;
			}
			
		}
			
			